-- GENERATED SPELL FOR [Boulderfist Invader] --


function spell0_18260(pUnit, Event) --@Pulverize,Self--
pUnit:FullCastSpellOnTarget(2676,pUnit)
pUnit:RegisterEvent('Sorts_18260', 2000, 1)
end

function Sorts_18260(pUnit, Event)
local choix_sorts_18260 = math.random(0, 0)
if choix_sorts_18260 == 0 then
pUnit:RegisterEvent('spell0_18260', 1, 1)
end
end

function mob18260_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18260', math.random(1500, 3000), 1)
end

function mob18260_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18260_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18260_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18260, 1, 'mob18260_Action')
RegisterUnitEvent(18260, 2, 'mob18260_Leave')
RegisterUnitEvent(18260, 3, 'mob18260_Kill')
RegisterUnitEvent(18260, 4, 'mob18260_Die')
